/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * AppManager
 * AppStore统一管理
 *
 * OpenAPI spec version: v2
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Core.Annotation;
using Newtonsoft.Json;

namespace  JDCloudSDK.Iotedge.Apis
{

    /// <summary>
    ///  发布APP接口
    /// </summary>
    public class ReleaseAppRequest : JdcloudRequest
    {
        ///<summary>
        /// 云翼编译编号
        ///Required:true
        ///</summary>
        [Required]
        public   string ArkId{ get; set; }
        ///<summary>
        /// 云翼包地址
        ///Required:true
        ///</summary>
        [Required]
        public   string ArkPackageAddr{ get; set; }
        ///<summary>
        /// App元数据编号
        ///Required:true
        ///</summary>
        [Required]
        public   string AppMetaId{ get; set; }
        ///<summary>
        /// APP来源 0-官方发布 1-第三方发布
        ///Required:true
        ///</summary>
        [Required]
        public   string SourceId{ get; set; }
        ///<summary>
        /// 编译人
        ///Required:true
        ///</summary>
        [Required]
        public   string TriggerUser{ get; set; }
        ///<summary>
        /// 编译时间
        ///Required:true
        ///</summary>
        [Required]
        public   string TriggerTime{ get; set; }
        ///<summary>
        /// 编译分支
        ///Required:true
        ///</summary>
        [Required]
        public   string Branch{ get; set; }
        ///<summary>
        /// 发布人
        ///Required:true
        ///</summary>
        [Required]
        public   string Operator{ get; set; }
        ///<summary>
        /// 发布描述
        ///Required:true
        ///</summary>
        [Required]
        public   string Desc{ get; set; }
        ///<summary>
        /// 地域ID
        ///Required:true
        ///</summary>
        [Required]
        [JsonProperty("regionId")]
        public   string RegionIdValue{ get; set; }
        ///<summary>
        /// 硬件平台编号
        ///Required:true
        ///</summary>
        [Required]
        public   string HardwareId{ get; set; }
        ///<summary>
        /// 操作系统编号
        ///Required:true
        ///</summary>
        [Required]
        public   string OsId{ get; set; }
    }
}